OS_TOKEN=gAAAAABmGkNAHLAwo7oRZ9IYmBWxqgVzazYhqKVohXL6mRQnem67L_s1lTV4KruSjCKHlAHQRT9RpZ5hGDjhOgZZ31ypYkL7Gno9ICbGxvyCsOPHRgNwgNsOYKz86z2GlmvNwp0aw1Kov5fb6bGyG44iMLuK9x6HY9ZTFPPkJH6UBjCtyQ7i0WQWIigxPdpg0kwv2RtD3u4b
USER_ID=53d262d106ed405b9e3bd6eb285265d3

data='{
    "user": {
        "options": {
            "multi_factor_auth_enabled": true,
            "multi_factor_auth_rules": [
                ["password", "totp"]
            ]
        }
    }
}'

curl -i \
    -X PATCH \
    -H "X-Auth-Token: $OS_TOKEN" \
    -H "Content-Type: application/json" \
    -d "$data" \
    http://192.168.31.240:5000/v3/users/$USER_ID; echo
